<%@page pageEncoding="utf-8" contentType="text/html; charset=utf-8" %>
<%@ include file="/m/include/init_mobile.jsp" %>
<%@ page import="com.qbooks.board.*" %>
<%
	String board_id = StringUtil.nvl(request.getParameter("board_id"));

	BoardDAO dao = new BoardDAO();

	HashMap infos = new HashMap();
	infos.put("board_id", board_id);
	
	HashList boardList 		= dao.selectWordList(infos);
	

%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
	<title><%= HOME_NAME %></title>
	<%@ include file="/m/include/cssnjs.jsp"  %>
	
	
	<script type="text/javascript">
	$(document).ready(function() {
		//alert('ddddd')

	});
	
	</script>
	
</head>
<body>
    <div id="wrap">
		<%@ include file="/m/include/header.jsp"  %>
		<div id="contents">
        	<ul data-role="listview">
<%		for (int i = 0; i < boardList.size(); i++) { %>
				<li>
					<a href="./wordList.app?board_id=<%= boardList.get("board_id",i)%>">
						<%= boardList.get("board_name",i) %>
					</a>
				</li>
<%		} %>
        	</ul>
        	
        </div>
		<%@ include file="/m/include/footer.jsp"  %>	
  	</div>
</body>
</html>
